package com.chongqing.shiro.web.controller;

import com.chongqing.shiro.util.SpringContextHolder;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;

@Controller
public class TestController {

    @GetMapping("/test")
    public Object test() {
        System.out.println(SpringContextHolder.getBean("druid"));
        return "index/index";
    }

}
